//在线留言后台路由
const express = require("express");
/* const onlineMsgModel = require("../models/onlineMsg.js");
const moment = require("moment") */
const onlineMsgController = require("../controllers/onlineMsgController.js");
const router = express.Router();
//留言列表
router.get("/onlineMsg/list", onlineMsgController.showList)
//留言详情
router.get("/onlineMsg/detail/:id", onlineMsgController.showDetail)
//删除
router.get("/onlineMsg/del/:id", onlineMsgController.delMsg)
module.exports = router;